<?php
error_reporting(0);
include_once "functions.php";
$pag = "localhost/anguloweb/";
$pag = $_GET["pag"];
$pagina = $pag;
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>.:: AnguloWeb ::.</title>
<meta charset="utf-8">



<!--<link href="tmp/generic.css" rel="stylesheet" type="text/css" />-->
    
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<link href="css/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="js/js-image-slider.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery-1.6.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-replace.js"></script>
<script type="text/javascript" src="js/Didact_Gothic_400.font.js"></script>
<script type="text/javascript" src="js/Shanti_400.font.js"></script>
<script src="js/roundabout.js" type="text/javascript"></script>
<script src="js/roundabout_shapes.js" type="text/javascript"></script>
<script src="js/jquery.easing.1.2.js" type="text/javascript"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript">

	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-33658343-1']);
	  _gaq.push(['_trackPageview']);

	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

</script>
<!--[if lt IE 9]>
	<script type="text/javascript" src="js/html5.js"></script>
	<style type="text/css">
		.bg {behavior:url(js/PIE.htc)}
	</style>
<![endif]-->
<!--[if lt IE 7]>
	<div style=' clear: both; text-align:center; position: relative;'>
		<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0"  alt="" /></a>
	</div>
<![endif]-->
<?php
if($pag == ''){
        echo "
        <style>
        #header_bar{border-radius:0;}
        </style>";
}
?>
</head>
<body>
<div class="body1">
	<div class="main">
<!-- header -->
		<header>
			<div class="wrapper">
				<span class="data"><?php echo semana(date("w")).", ".date("d")." de ".mes(date("m"))." de ".date("Y H:i"); ?></span>
			</div>
			<div class="wrapper">
				<a href="<?php echo $url; ?>?pag=" id="logo"><img src="images/logo.png" alt="AnguloWeb"></a>
                                <!--<label id="l_logo">ANGULOWEB - Soluções para Internet</label>-->
				<nav>
					<ul id="menu">
					<?php include_once "menu.php"; //menu($pagina, $url); ?>
					</ul>
				</nav>
			</div>
                        <div id="header_bar" <?php if($pag != ''){ echo "style='background: #eee'"; }else{ echo "style='background: #BD040D'"; }?>>
                            <div></div>
                        </div>
		</header>
<!-- content -->
		
		<?php
		switch($pag){
		        case "quemsomos":
		                include_once "quemsomos.php";
		        break;
		        case "produtos":
		                include_once "produtos.php";
		        break;
                        case "notarium":
		                include_once "notarium.php";
		        break;
		        case "servicos":
		                include_once "servicos.php";
		        break;
		        case "contato":
		                include_once "contato.php";
		        break;
                        case "downloads":
		                include_once "downloads.php";
		        break;
		        default:
                            //header("location:em_breve.html");
		        ?>
		        <div id="home">
                            <div class="text" id="text_home">
                                                <span class="tittle">AnguloWeb<span>Soluções para Internet</span></span>
                                                <!--
                                                <p>Desenvolvimento de Software com qualidade</p>
                                                <p>Soluções para micro, pequenas e grandes empresas</p>
                                                <div data-href="http://www.facebook.com/anguloweb" data-show-faces="true" data-stream="false" data-header="true" class="fb-like-box fb_iframe_widget" fb-xfbml-state="rendered"><span style="height: 290px; width: 300px;"><iframe id="f34c99dd94" name="f30411c734" scrolling="no" style="border: none; overflow: hidden; height: 290px; width: 300px; background: white;" class="fb_ltr" src="http://www.facebook.com/plugins/likebox.php?api_key=113869198637480&amp;locale=en_US&amp;sdk=joey&amp;channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D19%23cb%3Df333235c9c%26origin%3Dhttp%253A%252F%252Fdevelopers.facebook.com%252Ff1594c2a9%26domain%3Ddevelopers.facebook.com%26relation%3Dparent.parent&amp;height=290&amp;header=false&amp;show_faces=true&amp;stream=false&amp;width=300&amp;href=http%3A%2F%2Fwww.facebook.com%2Fanguloweb&amp;colorscheme=light&amp;show_border=true"></iframe></span></div>-->
                                    
                                        </div><br>
	                        <div class="wrapper">
                                        <div id="sliderFrame">
                                            <!--<div id="ribbon"></div>-->
                                            <div id="slider">
                                                <img src="images/folder_Notarium.png" alt="Notarium" />
                                                <img src="images/folder_SGM.png" alt="Sistema Gestor de Micronegocio" />
                                            </div>
                                            <div id="htmlcaption" style="display: none;">
                                                <em>HTML</em> caption. Link to <a href="http://www.google.com/">Google</a>.
                                            </div>
                                        </div>
                                    
                                </div>
                            
                                        
                            <!--
                                        <div id="gallery">
                                                <ul id="myRoundabout">
                                                        <li><img src="images/img1.png" alt=""></li>
                                                        <li></li>
                                                        <li></li>
                                                </ul>
                                        </div>
                                -->    
                        </div>
                        <?php
		        break;
		}
		?>
		
                <div id="feet"></div>
	</div>
</div>
<div class="body2">
	<div class="main">
		<article id="content2">
		        <section class="col_1">
		                <div id="menu_rodape">
		                <ul>
				        <li><a href="<?echo$url?>?pag=" title="Início">Início</a></li>
				        <li><a href="<?echo$url?>?pag=quemsomos" title="Quem Somos">Quem Somos</a></li>
				        <li><a href="<?echo$url?>?pag=produtos" title="Produtos">Produtos</a></li>
				        <li><a href="<?echo$url?>?pag=servicos" title="Serviços">Serviços</a></li>
				        <li><a href="<?echo$url?>?pag=contato" title="Contato" style="border-right: 0;">Contato</a></li>
			        </ul>
			        </div>
			        <div id="likebox" data-href="http://www.facebook.com/anguloweb" data-show-faces="false" data-stream="false" data-header="true" class="fb-like-box fb_iframe_widget" fb-xfbml-state="rendered"><span style="height: 62px; width: 300px;"><iframe id="f174a27dec" name="f1400f8ac8" scrolling="no" style="border: none; overflow: hidden; height: 62px; width: 300px;" class="fb_ltr" src="http://www.facebook.com/plugins/likebox.php?api_key=113869198637480&amp;locale=en_US&amp;sdk=joey&amp;channel=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D19%23cb%3Df3b765be28%26origin%3Dhttp%253A%252F%252Fdevelopers.facebook.com%252Ff1594c2a9%26domain%3Ddevelopers.facebook.com%26relation%3Dparent.parent&amp;height=62&amp;header=true&amp;show_faces=false&amp;stream=false&amp;width=300&amp;href=http%3A%2F%2Fwww.facebook.com%2Fanguloweb&amp;colorscheme=light&amp;show_border=true"></iframe></span></div>
			        <!--
			        <ul id="icons">
					<li><a href="#"><img src="images/icon1.jpg" alt="">Facebook</a></li>
					<li><a href="#"><img src="images/icon2.jpg" alt="">Twitter</a></li>
					<li><a href="#"><img src="images/icon3.jpg" alt="">LinkedIn</a></li>
				</ul>
				-->
		        </section>
		        <section class="col_2">
		                <div id="faleconosco">
				        <h2>Fale Conosco</h2>
                                        <label>(44) 99213160</label>
                                        <br>
				        <label>contato@anguloweb.com.br</label>
				</div>
		        </section>
	        </article>
<!-- / content -->
	</div>
</div>
<div class="main">
<!-- footer -->
	<footer>
		&copy; ÂnguloWeb - Soluções para Internet
	</footer>
<!-- / footer -->
</div>
<script type="text/javascript"> Cufon.now();</script>
</body>
</html>
